package com.mordenx.dao;

import com.mordenx.entity.SecKillingMerchant;
import com.mordenx.vo.merchant.MerchantVo;

import java.util.List;

public interface SecKillingMerchantDao {
    SecKillingMerchant queryById(int id);
    SecKillingMerchant queryByName(String name);
    void insertMerchant(SecKillingMerchant secKillingMerchant);
    void updateMerchantById(SecKillingMerchant secKillingMerchant);
    void deleteMerchantById(int id);
    List<SecKillingMerchant> queryMerchantByVo(MerchantVo merchantVo);
}
